Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix/max-priority-fee-per-gas-from-rpc #744

Merged
merged 1 commit into from
Apr 30, 2024

Conversation

kanej
Copy link
Member

@kanej kanej commented Apr 26, 2024

Before falling back to the default max priority fee (currently 1gwei) attempt to call eth_maxPriorityFeePerGas as an RPC call and use that if available.

If the user has set a maxPriorityFeePerGas in config, that takes priority over the RPC call.

Resolves #743

@kanej kanej requested a review from zoeyTM April 26, 2024 11:43
@kanej kanej added status:ready This issue is ready to be worked on and removed status:triaging labels Apr 29, 2024
@kanej kanej force-pushed the fix/max-priority-fee-per-gas branch 2 times, most recently from d21796a to 24ce506 Compare April 30, 2024 10:08
@kanej kanej force-pushed the fix/polygon-fees branch 2 times, most recently from 3661c21 to 5a0c51d Compare April 30, 2024 16:16
Base automatically changed from fix/polygon-fees to development April 30, 2024 16:22
Before falling back to the default max priority fee (currently 1gwei) attempt
to call `eth_maxPriorityFeePerGas` as an RPC call and use that if available.

If the user has set a `maxPriorityFeePerGas` in config, that takes priority over
the RPC call.

Resolves #743
@kanej kanej force-pushed the fix/max-priority-fee-per-gas branch from 24ce506 to 63bd081 Compare April 30, 2024 16:24
@kanej kanej merged commit d8f53eb into development Apr 30, 2024
5 checks passed
@kanej kanej deleted the fix/max-priority-fee-per-gas branch April 30, 2024 16:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status:ready This issue is ready to be worked on
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

Leverage eth_maxPriorityFeePerGas RPC call for gas fee calculation
3 participants